package com.zmj.sy.mom.srv.aps.bean.entity.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.mbd.api.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 物料结构表
 */
@Getter
@Setter
@TableName("tb_import_mbd_bominfo")
public class ImportMbdBomInfo extends BaseEntity{

    @TableField("workflow_id")
    @Comment("工作流id")
    private String workflowId;

    @TableField("eca_number")
    @Comment("变更号")
    private String ecaNumber;

    @TableField("PLM_ID")
    @Comment("PLM物料编号")
    private String plmId;

    @TableField("TUHAO")
    @Comment("PLM物料图号")
    private String tuhao;

    @TableField("SUB_PLM_ID")
    @Comment("子PLM物料编号")
    private String subPlmId;

    @TableField("SUB_TUHAO")
    @Comment("子PLM物料图号")
    private String subTuhao;

    @TableField("AMOUNT")
    @Comment("子件数量")
    private String amount;

    @TableField("SEQ_NO")
    @Comment("序号")
    private String seqNo;

    @TableField("RFLAG")
    @Comment("读取状态（N：未读、Y：已读）")
    private String rflag;

    @TableField("item_no")
    @Comment("物料号")
    private String itemNo;

    @TableField("modifier")
    @Comment("修改者")
    private String modifier;

    @TableField("process_supervisor")
    @Comment("工艺主管")
    private String processSupervisor;

    @TableField("assembly_sequence")
    @Comment("拼装次序")
    private String assemblySequence;

    @TableField("view_name")
    @Comment("视图")
    private String viewName;

    @TableField("PRODUCT_NUMBER")
    @Comment("产品型号")
    private String productNumber;

    @TableField("PLM_ID_NEW")
    @Comment("新PLM物料编号（带视图）")
    private String plmIdNew;

    @TableField("SUB_PLM_ID_NEW")
    @Comment("新子PLM物料编号（带视图）")
    private String subPlmIdNew;

    @TableField("NOTE")
    @Comment("加工说明")
    private String note;

    @TableField("create_time")
    @Comment("创建时间")
    private LocalDateTime createTime;

    @TableField("order_id")
    @Comment("订单ID")
    private Integer orderId;
}
